<style>
/*header*/

.title a{
color:#fff;
}
.title a {
    position: relative;
    display: inline-block;
    padding: 0 5px;
}
.collect{
	padding:20px;
}
.collect aside {
    float: left;
    border: 1px solid #ff7101;
    background: #fff;
    padding: 4px;
    line-height: 0;
    margin-left: 10px;
    border-radius: 5px;
	margin-bottom:20px;
}
.collect aside img {
    width: 80px;
    height: 80px;
	border: 0;
}
.collect .p1 {
    padding-top: 9px;
    line-height: 25px;
	font-size: 14px;
    margin-left: 115px;
}
#pop_nav img{border-radius:28px;}
#toast {
    display: none;
    position: fixed;
    padding: 9px 15px;
    background-color: #333;
    z-index: 8000;
    border-radius: 5px;
	font-size: 15px;
    color: #ffffff;
    line-height: 25px;
    text-align: center;
	
}
</style>
<div class="toolbar" style="position:absolute;top:0;left:0;background-color:#e00000;">
          <div class="toolbar-inner">
            <h1 class="title"><a href="javascript:void(0);">{if $_GPC['do']=='app_qd'}签到{elseif $_GPC['do']=='app_wall'}上墙祝福{elseif $_GPC['do']=='app_lottory'}抽奖{elseif $_GPC['do']=='app_vote'}投票{elseif $_GPC['do']=='app_shake'}摇一摇{elseif $_GPC['do']=='app_redpack'}抢红包{/if}2017年度表彰大会暨2018年迎新晚会</a></h1>
          </div>
</div>
<div id="pop_nav" class="weui-popup-container popup-bottom">
  <div class="weui-popup-overlay"></div>
  <div class="weui-popup-modal">
		<div class="toolbar">
          <div class="toolbar-inner">
            <a href="javascript:;" class="picker-button close-popup">关闭</a>
            <h1 class="title">功能列表</h1>
          </div>
        </div>
		<div class="modal-content">
          <div class="weui_grids">
		  {loop $xianchang['controls'] $row}
			{if $row=='qd'}
            <a href="{php echo $this->createMobileUrl('app_qd',array('rid'=>$rid))}" class="weui_grid js_grid">
              <div class="weui_grid_icon">
                <img src="{MODULE_URL}template/mobile/app/images/icon/ico005.png" alt="" style="background-color: #3399cc;">
              </div>
              <p class="weui_grid_label">
                签到
              </p>
            </a>
		   {elseif $row=='wall'}
		   <a href="{php echo $this->createMobileUrl('app_wall',array('rid'=>$rid))}" class="weui_grid js_grid">
              <div class="weui_grid_icon">
                <img src="{MODULE_URL}template/mobile/app/images/icon/ico009.png" alt="" style="    background-color: #72C700;">
              </div>
              <p class="weui_grid_label">
                上墙
              </p>
            </a>
		   {elseif $row=='vote'}
		   <a href="{php echo $this->createMobileUrl('app_vote',array('rid'=>$rid))}" class="weui_grid js_grid">
              <div class="weui_grid_icon">
                <img src="{MODULE_URL}template/mobile/app/images/icon/ico004.png" alt="" style="      background-color: #ff9900;  ">
              </div>
              <p class="weui_grid_label">
                投票
              </p>
            </a>
		   {elseif $row=='lottory'}
		   <a href="{php echo $this->createMobileUrl('app_lottory',array('rid'=>$rid))}" class="weui_grid js_grid">
              <div class="weui_grid_icon">
                <img src="{MODULE_URL}template/mobile/app/images/icon/ico001.png" alt="" style="background-color: #ff3333;">
              </div>
              <p class="weui_grid_label">
                抽奖
              </p>
            </a>
		   {elseif $row=='shake'}
		   <a href="{php echo $this->createMobileUrl('app_shake',array('rid'=>$rid))}" class="weui_grid js_grid">
              <div class="weui_grid_icon">
                <img src="{MODULE_URL}template/mobile/app/images/icon/ico002.png" alt="" style=" background-color: #33cc66;">
              </div>
              <p class="weui_grid_label">
                摇一摇
              </p>
            </a>
			 {elseif $row=='redpack'}
		   <a href="{php echo $this->createMobileUrl('app_redpack',array('rid'=>$rid))}" class="weui_grid js_grid">
              <div class="weui_grid_icon">
                <img src="{MODULE_URL}template/mobile/app/images/icon/redpack3.png" alt="" style=" background-color:red;">
              </div>
              <p class="weui_grid_label">
                抢红包
              </p>
            </a>
		   {/if}
		   {/loop}
          </div>
		  <div class="collect">
                <aside>
					
                    <img src="{php echo $this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl($_GPC['do'],array('rid'=>$rid))));}" alt="">
                </aside>

                <p class="p1">
                    为便于您退出后二次进入强烈建议您长按左侧二维码进行保存
                </p>

            </div>
        </div>
  </div>
</div>
<div id="toast"></div>
 <script src="{MODULE_URL}template/mobile/app/js/jquery-weui.min.js"></script>
 <script>
  $(function() {
	$(".dropdown-menu").click(function(){	
		$("#pop_nav").popup();
	});
	});
 </script>
</body>
</html>